package com.ygbhu.design.abstractfac.service.impl.huawei;

import com.ygbhu.design.abstractfac.service.PhoneService;
import com.ygbhu.design.abstractfac.service.ProductFactoryService;
import com.ygbhu.design.abstractfac.service.RouterService;

/**
 * @program: design-pattern
 * @description:
 * @author: smzhu3
 * @create: 2021-06-17 14:03
 **/
public class HuaweiProductImpl implements ProductFactoryService {
    @Override
    public PhoneService productPhone() {
        return new HuaweiPhoneImpl();
    }

    @Override
    public RouterService productRouter() {
        return new HuaweiRouterImpl();
    }
}
